#include <stdio.h>
#include <stdbool.h>
#include <string.h>
bool judgeCircle(char* moves) {
    int n = strlen(moves), x = 0, y = 0;
    for (int i = 0; i < n; i++) {
        if (moves[i] == 'U') {
            y--;
        }
        else if (moves[i] == 'D') {
            y++;
        }
        else if (moves[i] == 'L') {
            x--;
        }
        else if (moves[i] == 'R') {
            x++;
        }
    }
    return x == 0 && y == 0;
}



int main()
{
	return 0;
}